System and methodology providing optimized data exchange with industrial controller

ABSTRACT

The present invention relates to a system and methodology facilitating network communications between an industrial control system and a client application that interacts with a plurality of data items on the control system. The client application initiates a request or query to the industrial control system for an identification of selected data items of interest. Based on information received in the request, an aggregation component can be constructed by the client, wherein names and buffer allocations relating to the data items of interest are provided. The aggregation component is then installed by the client and updated in the industrial control system, thus providing information access to the client application when fresh or updated information is desired. Information is accessed via a communications packet that is generated from the data items identified in the aggregation component. Information transmitted to the control system can also be optimized by identifying the information via handle identifiers that are employed in place of explicit reference or tag names.

TECHNICAL FIELD

The present invention relates generally to industrial controllers, and more particularly to a system and methodology to facilitate optimized data transfers between an industrial controller and one or more remote client applications.

BACKGROUND OF THE INVENTION

Industrial control systems have enabled modern factories to become partially or completely automated in many circumstances. These systems generally include a plurality of Input and Output (I/O) modules that interface at a device level to switches, contactors, relays and solenoids along with analog control to provide more complex functions such as Proportional, Integral and Derivative (PID) control. Communications have also been integrated within the systems, whereby many industrial controllers can communicate via network technologies such as Ethernet, Control Net, Device Net or other network protocols and also communicate to higher level computing systems. Industrial controllers utilize the aforementioned technologies along with other technology to control multiple applications ranging from complex and highly distributed to more traditional and repetitious applications. As an example, steel and automobile production often require control and integration with complex welding and/or robotic systems whereas, a transfer or automated assembly line can produce hundreds of thousands of similar items in a more traditional industrial control situation.

At the core of the industrial control system, is a logic processor such as a Programmable Logic Controller (PLC). Programmable Logic Controllers are programmed by systems designers to operate manufacturing processes via user-designed logic programs or user programs. The user programs are stored in memory and generally executed by the PLC in a sequential manner although instruction jumping, looping and interrupt routines, for example, are also common. Associated with the user program are a plurality of memory elements or variables that provide dynamics to PLC operations and programs. These variables can be user-defined and can be defined as bits, bytes, words, integers, floating point numbers, timers, counters and/or other data types to name but a few examples.

As can be appreciated, various remote applications often attempt to acquire PLC information or data in order to service other automation requirements. One such application includes a Human and Machine Interface (HMI) that can reside on a remote client machine to enable PLC Engineers or Operators to manipulate and/or monitor PLC control programs and associated variables, for example. Human and Machine Interfaces along with other remote applications often employ network communications and associated drivers or servers to transfer information between the application and the PLC. For example, one common network transfer protocol is referred to as Control and Information Protocol (CIP) that is an application layer protocol that can be specified for Ethernet/IP (Ethernet Industrial Protocol), as well as for ControlNet, DeviceNet and/or other protocols.

Control and Information Protocol is a message-based protocol that implements a relative path to send a message from one or more “producing” devices to one or more “consuming” devices. The producing device can include path information that directs the messages to reach the consumers. Since the producing device holds the path information, other devices along the path can simply pass the information. In traditional PLC systems, controllers poll input modules to obtain their input status. In CIP systems, digital input modules or other producers are not polled by the controller, for example. Instead, these modules produce (“multicast”) associated data either upon a change of state (COS) or periodically. The frequency of update depends upon options chosen during network configuration and where on the network the input module resides. The input module, therefore, is a producer of input data and the controller and/or communications module is a consumer of the data. The PLC can also produce data for other controllers or applications to consume and/or can produce data for other modules to consume such as an output module, for example.

Presently, if remote access of a data type is requested from the PLC via a CIP or other type request for example, the requested data is placed into a communications packet having an associated overhead. The overhead includes a header and ending field, for example, that supports the protocol and encapsulates the data before being transferred to the remote application for processing. If multiple and/or unrelated data types are requested from the PLC however, respective data types can be placed in separate communications packets, wherein the associated packet includes the overhead described above. Consequently, communications efficiency can be reduced since multiple data type transfer requests between PLC's and remote applications can cause increasing amounts of network and communications overhead as the number of data requests increase.

SUMMARY OF THE INVENTION

The following presents a simplified summary of the invention in order to provide a basic understanding of some aspects of the invention. This summary is not an extensive overview of the invention. It is intended to neither identify key or critical elements of the invention nor delineate the scope of the invention. Its sole purpose is to present some concepts of the invention in a simplified form as a prelude to the more detailed description that is presented later.

The present invention relates to a system and methodology to facilitate optimized data transfer and communications over a network between a Programmable Logic Controller (PLC) and one or more remote applications. This is achieved by installing an aggregation component in the PLC (or communications module associated with the PLC) that can dynamically buffer, pack and/or accumulate a subset of related and/or unrelated data items before transferring the data as a group or cluster to the remote application that has requested the data. As an example, a remote application such as a Human and Machine Interface (HMI) or other application installs the aggregation component in the PLC and places names or tags relating to data items of interest in the aggregation component (e.g., data that the remote application desires to process). The PLC then updates the data items associated with the tags, wherein the remote application can then read or transfer the items in a singular communications packet. In this manner, information associated with multiple data items is aggregated or accumulated within the communications packet before transfer across the network, thus mitigating the amount of overhead associated with transferring data items as individual or unrelated entities.

In accordance with one aspect of the present invention, the remote application sends a request to the PLC in order to receive and determine name or tag information associated with a plurality of data items defined in the PLC (e.g., substantially any data type, array or structure). The remote application then builds the aggregation component having selected data type names or tags that relate to application data of interest. The aggregation component can be viewed as an optimized packet having an associated buffer for accumulating information and can be implemented as an object. The optimized packet or object is then installed and instantiated on the PLC, wherein the data items identified within the object are updated by the PLC and upon request of the remote application, the data items are assembled in a communications packet and transferred according to the grouping of items defined in the object. It is noted that one or more remote applications can install optimized packets in the PLC, wherein respective applications can install a plurality of such optimized packets if desired.

Optimized packets can be dynamically configured, installed and/or removed such that if the remote application requests related data items, the related data items are packed according to a beginning address of a first item in a group, followed by a length and then followed by the values relating to the items in the group. In this manner, overhead associated with providing individual tag names for respective items in a group or category can be mitigated (e.g., identifying contiguous data items in array/buffer or other association such as a structure or union via a singular tag name associated with one or a limited number of the items in the group). Moreover, if arbitrary or predetermined limitations are placed on the amount of data that may be included in any one communications packet (e.g., limited by network protocols), then additional optimized packets can be dynamically generated and installed in the PLC to facilitate increased data transfer operations and communications. Furthermore, if the remote application reduces or changes the amount of requested data, the optimized data packets can be dynamically reduced, increased, reconfigured, and/or removed as determined by changes in the application over time.

According to another aspect of the present invention, update information or data that is sent to the PLC can be optimized before communicating the information to the PLC. This is achieved by employing data type pointers or handles rather than explicit name identifiers (e.g., ASCII tags of varying lengths that identify various data items) as part of an update header associated with an update request. For example, a remote application first requests the data types or items that are presently defined in the PLC. As part of the request, the PLC supplies explicit tag or name information for the data item, value information associated with the tag, and instance handle information relating to an address or pointer for the tag. When an update is desired, the instance handle can be employed along with an associated update value in place of the explicit tag or name information to indicate which item in the PLC is to be altered or changed. In this manner, the instance handle provides an indirect indication having fixed length (e.g., handles providing 2 byte pointer as opposed to variable length explicit tag names), thus mitigating the amount of information communicated across the network to the PLC when indicating which data item is to be altered.

The following description and the annexed drawings set forth in detail certain illustrative aspects of the invention. These aspects are indicative, however, of but a few of the various ways in which the principles of the invention may be employed and the present invention is intended to include all such aspects and their equivalents. Other advantages and novel features of the invention will become apparent from the following detailed description of the invention when considered in conjunction with the drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic block diagram illustrating an industrial controller and communications architecture in accordance with an aspect of the present invention.

FIG. 2 is a schematic block diagram illustrating an industrial controller and associated optimized packet in accordance with an aspect of the present invention.

FIG. 3 is a schematic block diagram illustrating an industrial controller having one or more optimized packets in accordance with an aspect of the present invention.

FIG. 4 is a diagram illustrating an exemplary optimized packet in accordance with an aspect of the present invention.

FIG. 5 is a diagram illustrating a possible buffer configuration in accordance with an aspect of the present invention.

FIG. 6 is a diagram illustrating remote object creation and communications in accordance with an aspect of the present invention.

FIG. 7 is a flow diagram illustrating a methodology providing optimized data communications in accordance with an aspect of the present invention.

FIG. 8 is a flow diagram illustrating a methodology for object lifetime management in accordance with an aspect of the present invention.

FIG. 9 is a schematic block diagram illustrating an industrial controller and optimized update packets in accordance with an aspect of the present invention.

FIG. 10 is a flow diagram illustrating a methodology providing write optimization to an industrial controller in accordance with an aspect of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

The present invention relates to a system and methodology providing enhanced network communications capabilities between an industrial control system and a client application that interacts with a plurality of data items on the control system. The client application initiates a request or query to the industrial control system for an identification of selected data items of interest. Based on information received in the request, an aggregation component can be constructed by the client and/or an associated communications server, wherein names and buffer allocations relating to the data items of interest are provided. The aggregation component is then installed in/updated by the industrial control system, thus providing information access to the client application when fresh or updated information is desired. Information is accessed via a communications packet that is generated from the combination of data items identified in the aggregation component, thus mitigating overhead associated with transferring the items as smaller or discrete quantities. As will be described in more detail below, information sent to the industrial control system can be optimized by identifying the information via handle identifiers as opposed to explicit reference or tag names that may be of varying lengths.

Referring initially to FIG. 1, an industrial control and communications architecture 10 is illustrated in accordance with an aspect of the present invention. A client machine 20 interfaces to an industrial controller 30 via a network 34 (e.g., Ethernet, DeviceNet, ControlNet). It is also noted that other type communications can be achieved between the client machine 20 and the controller 30 (e.g., RS-232, 422, and 485). The client machine 20 includes a client application 40 that employs a communications component 44 to exchange information with the industrial controller 30 across the network 34. As an example, the client application 40 can include a Human and Machine Interface (HMI) that interfaces to an operator via a graphical display 50 and one or more inputs 54. It is to be appreciated that the client application 40 can be substantially any type of application that transmits and receives data from the industrial controller 30 (e.g., a second industrial controller or communications module executing the client application and communications component, data logging or monitoring applications).

The display 50 can be employed to provide feedback and output data to a user regarding various aspects of communications, preferences, configurations and/or adjustments relating to the controller 30. The display 50 can include display objects (e.g., icons, buttons, sliders, input boxes, selection options, menus, tabs and so forth) having multiple dimensions, shapes, colors, text, data and sounds to facilitate optimal interactions with the controller 30. In addition, various menus and alternative screens or display outputs can be provided that perform a plurality of aspects of the present invention, wherein the inputs 54 can be employed for adjusting and configuring the menus and screens. This can include receiving user commands from a mouse, keyboard, speech input and/or other device to effect operations of the client application 40 and controller 30.

According to one aspect of the present invention, the client application 40 determines that one or more data items of interest are to be retrieved from the industrial controller 30. For example, a user may request via the input 54 and associated menu that a plurality of related or unrelated data items of interest are to be presented to the display 50 in order to provide status or other information regarding the controller 30. Based on the user's request, the client application 40 can initiate a data transfer via the communications component 44, wherein a request 60 is generated that specifies the data items of interest and sent to the controller 30. The request 60 is processed by a communications interface 64 on the controller 30, whereby an initial response 70 is generated and transmitted back to the communications component 44. The initial response 70 includes tag, address, pointer and/or name information relating to controller memory locations (described below) for associated data items of interest that was initially requested by the client application 40.

Based upon the response 70 and the associated tag information, the client one or more aggregation components 80 in the controller 30 that can be employed as a data communications buffer for the requested data items. The aggregation component 80 is periodically updated by the controller 30 in accordance with data values associated with the data items of interest specified therein. According to subsequent requests for data from the communications component 44, an optimized response 84 can be generated by the communications interface 64 on the controller that includes substantially all or significant portions of the contents of the aggregation component 80. Thus, a plurality of data items that are requested by the client application 40 can be aggregated, transmitted and provided in a substantially larger or singular communications packet (e.g., via a network signal or data packet). In this manner, communications performance can be enhanced since overhead associated with transmitting data items as individual packets is mitigated (e.g., mitigating repeated and redundant header and ending data that is generally associated with a network communications packet). As will be described in more detail below, the aggregation components 80 can be dynamically added or removed depending on the amount of data requested by the client application 40. In addition, respective aggregation components 80 can be increased or decreased in size (e.g., buffer elements added or removed) depending on increased or decreased data demands from the client application 40.

Referring now to FIG. 2, a system 100 illustrates an industrial controller 112 and associated optimized packet 116 in accordance with an aspect of the present invention. The industrial controller 112 includes a processor 120 that interacts with a memory 124 and a communications driver 130. The memory 124 includes program memory 134 adapted to operate the controller 112 and variable memory 140 having one to N data items 144 that are associated with the optimized packet 116, N being an integer. A client 150 includes a client application 154 that interacts with a communications server 160. The client application 154 is employed to request one or more of the data items 144 from the variable memory 140 via the communications server 160 and a network 170. The client application 154 determines a desired amount of data items 144 to be retrieved from the controller 112.

Based upon the determination, a request is generated to the communications server 160 and sent to the communications driver 130. The request is provided to the processor 120 and causes the processor to access the variable memory 140 for one or more of the requested data items 144. As an example, the processor 120 may have access to one or more megabytes of variable memory 140, wherein 250 bytes are requested from the data items 144. The processor 120 locates tag information relating to the requested data items 144 and provides the tag information to the communications driver 130 that is then transmitted to the communications server 160 as a response. According to the tag information in the driver response, the client application 154 and/or communications server 160 construct and install the optimized packet 116 via the communications driver 134 and processor 120. The optimized packet is thus configured as a portion, subset or selection of the data items 144.

According to periodic intervals such as a real time interrupt, the processor 120 can access the data items 144 and update/refresh the optimized packet 116 according to the data items that are selected and specified within the packet. It is noted that the optimized packet 116 can also be updated according to asynchronous communications requests from the communications server 160. When the client application 154 determines that updated or refreshed data is desired, a data request can be generated to the communications server 160 and sent to the communications driver 130. The data request causes the processor 120 to copy the specific items requested from the optimized packet 116 into a buffer (not shown) accessible by the communications driver 130, wherein an aggregated communications packet is constructed and transmitted as a response to the data request. In this manner, a plurality of related or unrelated (not in contiguous memory portions or of the same data type) data items can be transmitted in a singular communications packet, thereby mitigating overhead associated with transmitting these items according to individual data item requests.

Turning to FIG. 3, a system 200 illustrates an industrial controller 212 having one or more optimized packets 214 through 218 in accordance with an aspect of the present invention. The system 200 illustrates the dynamic aspects of the present invention. For example, if a client application 254 were adapted to request optimized packets that were greater in size than supported by a selected network communications protocol, additional optimized packets 214-218 can be constructed and installed on the controller 212. As an example, if existing network protocol supports 500 bytes or other amount per communications packet, and 1200 bytes of data were requested, then three optimized packets 214-218 can be constructed and installed on the controller 212 to support the request according to this particular example.

In accordance with the dynamic aspects of the present invention, if additional data were requested (e.g., an additional 1000 bytes above 1200 bytes), then additional optimized packets 214-218 can be added to support the increased data demand. Likewise, if the client application 254 were to reduce requested data demands, optimized packets 214-218 can be removed from the controller 212 via an associated request from the client application 254 and associated communications server 260.

In accordance with another aspect of the present invention, data within an optimized packet 214-218 can be dynamically adjusted. For example, if the optimized packet 214 were initially configured to transmit a certain amount of data (e.g., 750 bytes of data initially specified), and over a period of time, more or less than the initially specified amount of data were actually requested by the client application 254, then the optimized packet 214 can be reconfigured according to the changed or varying amount of requested data. Thus, communications packets can be dynamically tailored and optimized within a respective packet according to the actual amount of data requested by the client application 254 in order to mitigate transmission of superfluous or un-requested data across the network 270.

FIG. 4 is a diagram illustrating an exemplary optimized packet 300 in accordance with an aspect of the present invention. The optimized packet 300 can be configured as an object in the controller having associated class attributes 310, instance attributes 320, services 330, and a buffer region 340. The class attributes 310 can supply information such as revision level information of the object, an instance number, and the number of instances of an associated class. Exemplary class attributes 310 are illustrated below in Example 1.

Example 1

Class Attributes for Optimized Packet Object Access ASA Data Description of Semantics of Rule Name Type Attribute Values 1 Generally Get Revision UINT Revision of object This is revision 1 Required class definition 2 Generally Get Maximum UDINT Maximum object The instance Required Instance instance created number of the highest object instance 3 Generally Get Number of UDINT Count of the How many Required Instances number of object instances do we instances created have

Instance attributes 320 include such aspects as object update times, event triggers, whether to update the object based on rate or demand or other criteria, where in the data stream triggers are located, whether to continue on an overflow, number of trending drivers currently installed, timestamp information, size of buffers, start times, an object lifetime settings. An exemplary listing of instance attributes 320 is illustrated below in Example 2.

Example 2

Instance Attributes for Optimized Packet Object Access ASA Data Description of Semantics of Rule Name Type Attribute Values 1 Generally Set Rate UDINT Time in Milliseconds is a Required microseconds of possible period sample period 10 ms default 2 Generally Set Event struct{ Which event is this class code Required UINT trend object (motion or task) UDINT attached to instance number 3 Generally Set Sample Type USINT Indicates whether 1 = Periodic Required to use rate, event, (Default) on demand or 2 = Synch Event something else 3 = On Demand 4 Generally Set Trigger % USINT Indicates where in Continuous Required data stream the values 0-100% trigger point will be 5 Generally Set Overflow BOOL Stop or continue on Default is stop Required config overflow 6 Generally Get Trending UINT Number of trending Required Drivers drivers currently running in this object 7 Generally Set Time accuracy USINT Shift of timestamp default of 7 bits Required difference for delta 128 usec for periodic or event, 0 bits for on demand 8 Generally Get Buffer Size UDINT Size of buffers in Default size is 4K Required 32 bit words words for periodic or event and 0 for on demand 9 Generally Get Time Stamp ULINT Start time recorded Required after start service Or create time 10 Generally Set Persistence BOOL Indicates whether 0-default delete Required the trend will delete itself on connection loss or close

Object Services 330 include such services as Get All Attributes, Get All List, Set Attributes List, Reset, Start, Stop, Create Object and Delete Object and are described in more detail below in Example 3.

Example 3

Services for Optimized Packet Object Class Instance Service Name Description of Service 01 n/a Generally Get All Gets all of the instance Required Attributes attributes listed above 03 Generally Generally Get Attributes Gets the specified attributes Required Required List of the class or the instance 04 n/a Generally Set Attributes Sets the specified attributes Required List of the instance 05 n/a Generally Reset Clears data buffers and sets Required object to a stopped state waiting for configuration 06 n/a Generally Start Starts recording Required 07 n/a Generally Stop Stops trending/ Required histogramming 08 Generally Optional Create Object Allocates memory space to Required store the object, The object is generally empty at this time. 09 n/a Generally Delete Object Deletes the specified Required trending object

The buffer region 340 includes 1 to L data items, L being an integer. The data items can be configured in substantially any manner. For example, this can include bit, byte, 16 bit, 32 bit or greater word configurations, unsigned or signed integer or floating point elements, and single or multiple dimension array configurations to name but a few examples.

To further illustrate the buffer region 340, FIG. 5 illustrates a possible buffer configuration or organization 400 in accordance with an aspect of the present invention. At 410, a single buffer element is illustrated. The buffer element 410 includes a tag or name 412 to identify the element 410 and includes a value field 414 that indicates the data contents or numeric value of the buffer element 410. At 420, a single dimension array or memory structure is illustrated (e.g., 100 element contiguous buffer). The array 420 can include elements 424 that have an associated array element ID 428, and array element value 432. In addition, contiguous data items or types can be identified as depicted at 440 having an associated begin array element ID 444, a length value 448, indicating the length of contiguous array elements, and associated data values 1 through X 450, X being an integer. Moreover, in addition to the possible structures described above, a multiple dimension array 460 can also be provided in the buffer region 400. This can include an I x J array having I rows and J columns, wherein I and J are integers, respectively.

Another type structure relates to one or more user defined tags 470 having 1 to J defined elements, J being an integer. The user defined tag (UDT) 470 can consist of different types of elements (e.g., SINT, INT, DINT, REAL) and/or other complex structures such as Timers, Counters, Arrays and/or other user defined tags. The communications server described above optimizes reading of the UDT 470 by requesting a blob (Binary Large Object) of data consisting of the elements defined in the UDT, and then parsing out the desired items or elements of interest from the blob for the client application. The request for UDT elements can include a first element in the UDT followed by a length specifier to indicate how many bytes of data to read.

FIGS. 6, 7, 8 and 10 illustrate methodologies to facilitate optimized data communications with an industrial controller in accordance with the present invention. While, for purposes of simplicity of explanation, the methodologies are shown and described as a series of acts, it is to be understood and appreciated that the present invention is not limited by the order of acts, as some acts may, in accordance with the present invention, occur in different orders and/or concurrently with other acts from that shown and described herein. For example, those skilled in the art will understand and appreciate that a methodology could alternatively be represented as a series of interrelated states or events, such as in a state diagram. Moreover, not all illustrated acts may be required to implement a methodology in accordance with the present invention.

Referring to FIG. 6, a diagram 500 illustrates remote object creation and management in accordance with an aspect of the present invention. According to this aspect of the present invention, a remote client 510 interacts with an industrial controller 520 over a network connection. At 530, an object is created on the client and installed on the controller at 540. At 550, data items of interest are added to the object at 540. This can include a plurality of contiguous or non-contiguous address memory locations and can include various types of data (e.g., bit, byte, word, signed, unsigned, floating point, integer, array, structure, UDT and so forth). At 560, the client 510 communicates via the object 540 to receive updated data for the selected data items of interest. As described above, the controller 520 can update the data items within the object 540 via a periodic occurrence, an event driven occurrence, and/or based upon a demand or request from the client 510. At 570, object lifetime is managed. This can include removing the object 540 from the controller 520 when the client 510 no longer requests the data items of interest. In addition, object lifetime can be terminated based upon an event such as a reference counter being decremented to zero. Furthermore, the object 540 or objects if more than one object is installed can be removed by the controller 520 if network connections are disrupted for a time period that is greater than a predetermined amount of time. The timeout period can be configured at the client 510 and passed to the controller 520 when a connection request is initiated (e.g., parameter instructing controller to remove object if network communications lost for more than 10 seconds).

FIG. 7 is a flow diagram illustrating a methodology 600 that provides optimized data communications with an industrial controller in accordance with an aspect of the present invention. At 606, tag or name information relating to data items of interest is requested by a client application. At 610, the tag request is sent to an industrial controller. At 614, a determination is made as to which data items of interest are to be placed in a scanning list. The list indicates which data items are to be periodically updated for the client application. At 620, an object is created in the controller. At 624, tags relating to the data items of interest are placed into the object created at 620. At 630, data requests are initiated to the controller. At 634, the requested data is placed into the object created at 620. At 640, the data from the object is transmitted in the form of an aggregated data packet that encapsulates the data contents of the object. If multiple objects have been created on the controller, additional communications or data packets can be sent to the client application to service the request for controller data.

FIG. 8 is a flow diagram illustrating a methodology 700 for object lifetime management in accordance with an aspect of the present invention. Proceeding to 720, a network connection is created between a controller and a client server communications component. For example, a socket connection or secure socket connection can be created between the controller and the client. At 724, an object is created on and/or across the connection established at 720. At 728, objects can be removed from service on the controller implicitly. For example, this can include such conditions or implicit determinations as a timeout of communications over the socket or a detected loss of connection between the controller and client (e.g., status bit indicating physical or logical communications connection has failed or been disabled). At 734, explicit commands from the communications server on the client can cause the object created at 720 to be removed. For example, if a client application were to change display screens whereby the object data was no longer being requested, then the object can be removed from the controller based upon a remove or terminate object command transmitted to the controller from the communications server.

Referring now to FIG. 9, a system 800 illustrates an industrial controller 810 and optimized update packets in accordance with an aspect of the present invention. In this aspect of the present invention, a client machine 820 sends or transmits updated or new data to the controller 810. The client 820 first sends a data update request 830 to a communications interface 834 on the controller 820 via a communications component 840. A response 844 to the request 830 is provided by the controller 820, wherein tag, value and handle information relating to one or more data items of interest is provided in the response. The handle information is similar to a pointer or an indirect address indication of the location of the requested data item in the controller 810.

When the client machine 820 or related application determines that a data update is to be transmitted to the controller 810, an update component 850 employs the handle information received in the response 844 to build an update packet 852 having a handle field 854 and an associated value 860. The update packet 852 is transmitted to the controller 810, wherein a mapping component 870 employs the handle field 854 to place or locate the value 860 at the address pointed to by the handle 854. By employing the handle 854 in place of explicit tag references to place or locate updated data in the controller 810, network bandwidth can be conserved. This can be achieved since explicit tags are often lengthy and consist of variable lengths thus causing variable and often larger amounts of data to be transmitted. The handle 854 can be employed as a consistent one or two byte data reference (or other consistent amount) that generally tends to mitigate the overall amount of data to be transmitted when compared to explicit tag references.

Turning to FIG. 10, a flow diagram illustrates a methodology 900 providing data write optimization to an industrial controller in accordance with an aspect of the present invention. At 906, one or more tags are requested from a controller. At 910, a determination is made as to which tags requested at 906 are to be updated. At 914, the tag names of data items to be updated are replaced with handle identifiers. At 920, if multiple data items are to be updated, a buffer can be packed having the multiple items and associated handles. If contiguous memory items or locations are to be updated, a beginning handle can be specified, along with an associated length field and respective values relating to the specified length to further conserve the amount of data and network information to transmit. At 930, the data packets created at 914 and/or 920 are transmitted to the controller to cause an update or refresh of the selected data items.

What has been described above are preferred aspects of the present invention. It is, of course, not possible to describe every conceivable combination of components or methodologies for purposes of describing the present invention, but one of ordinary skill in the art will recognize that many further combinations and permutations of the present invention are possible. Accordingly, the present invention is intended to embrace all such alterations, modifications and variations that fall within the spirit and scope of the appended claims. 

1. An industrial control system, comprising: a processor; a computer readable storage medium operationally coupled to the processor and storing computer executable instructions, the computer executable instructions, when executed by the processor, implement components comprising: a primary aggregation component associated with an industrial controller, the primary aggregation component is created, via the processor, and defined in response to a query received from an entity remote to the industrial controller and is installed on the industrial controller, the primary aggregation component aggregates a plurality of selected data items stored in the industrial controller into an aggregated subset of data items; a communications component associated with the remote entity, the communications component reads the aggregated subset of data items via a singular communications packet across a network, the communications component causes addition of at least one secondary aggregation component at the industrial controller in response to increased data demands, wherein the communication component causes removal of the at least one secondary aggregation components in response to decreased data demands; and an update component associated with the remote entity, the update component receives handle information from the industrial controller across the network relating to the plurality of selected data items, the update component employs the handle information to generate an update data packet request that is transmitted across the network to the industrial controller to update one or more data items of the aggregated subset of data items in the industrial controller, wherein the handle information provides a fixed length reference pointer to a memory address in the industrial controller for each of variable length tag references of the plurality of selected data items, wherein the update data packet request employs the fixed length reference pointer in place of a variable length tag reference for each of the one or more data items of the aggregated subset of data items that are to be updated.
 2. The system of claim 1, the entity is a client application that selects and requests the subset of data items from the controller.
 3. The system of claim 2, the client application is at least one of a data logging application and a Human and Machine Interface (HMI) that interacts with the industrial controller.
 4. The system of claim 2, further comprising a communications server adapted to interact with the client application, the network and the industrial controller, the industrial controller including a communications driver to interface with the communications server and the network.
 5. The system of claim 1, the communications component sends a data request to the industrial controller relating to the aggregated subset of data items.
 6. The system of claim 5, the industrial controller sending a response to the request including at least one of tag and value information associated with the tag, the tag and value information relating to the aggregated subset of data items.
 7. The system of claim 6, the communications component employing the tag and value information received in the response to build the primary aggregation component on the industrial controller.
 8. The system of claim 1, further comprising at least one of dynamically increasing and decreasing the amount of selected data items in the primary aggregation component based upon data demands received from the network.
 9. The system of claim 1, the primary aggregation component is an object including at least one of class attributes, instance attributes, services and a data buffer.
 10. The system of claim 9, the class attributes supply information such as revision level information of the object, an instance number, and a number of instances of an associated class.
 11. The system of claim 9, the instance attributes include setting for at least one of object update times, event triggers, whether to update the object based on rate, demand and other criteria, where in a data stream triggers are located, whether to continue on an overflow, number of drivers currently installed, timestamp information, size of buffers, start times, or object lifetime settings.
 12. The system of claim 9, the services include at least one of Get All Attributes, Get All List, Set Attributes List, Reset, Start, Stop, Create Object or Delete Object.
 13. The system of claim 9, the data buffer including at least one of 1 to L data items, L being an integer greater than 1, and includes at least one of the following types: single valued elements, bit, byte, 16 bit, 32 bit, greater than 32 bit configurations, unsigned integers, signed integers, floating point elements, single dimension array, multiple dimension array configurations, or user defined tags (UDT).
 14. The system of claim 13, the single valued elements include at least one of a tag identifier or an associated value.
 15. The system of claim 13, the single dimension arrays include at least one of an array element ID, a value, a begin array element ID or a length.
 16. The system of claim 1, further comprising removing the primary aggregation component based upon at least one of a loss of communications and a connection timeout.
 17. The system of claim 1, further comprising removing the primary aggregation component based upon an explicit command.
 18. A method to facilitate data communications with an industrial controller, comprising: employing a processor executing computer executable instructions stored on a computer readable storage medium to implement the following acts: requesting tag information from an industrial controller across an industrial control network for a plurality of selected data items in the controller; building an aggregation object from the tag information provided by the industrial controller; installing the aggregation object on the industrial controller; installing at least one secondary aggregation component on the industrial controller upon increased data demands; wherein the installing caused by a communication component associated with a remote entity; removing the at least one secondary aggregation components upon decreased data demands; wherein the removing caused by the communication component associated with the remote entity; updating the aggregation object data on the industrial controller; receiving by the communication component associated with the remote entity data from the aggregation object that has been updated by the industrial controller via a singular communication packet; receiving by an update component associated with the remote entity handle information from the industrial controller relating to the plurality of selected data items, wherein the handle information provides a fixed length reference pointer to a memory address in the industrial controller for each of variable length tag references of the plurality of selected data items; and employing by the update component associate with the remote entity only the handle information to generate an update data packet that is transmitted across the network to the industrial controller to update the plurality of selected data items in the industrial controller, wherein the update data packet employs the fixed length pointer in place of a variable length tag reference for each of the plurality of selected data items that are to be updated.
 19. The method of claim 18, further comprising updating the object via at least one of a periodic occurrence, an event driven occurrence, and a request.
 20. The method of claim 18, further comprising removing the object from the controller when a client no longer requests data items of interest.
 21. The method of claim 20, further comprising removing the object based upon at least one of an event and network connections being disrupted for a time period that is greater than a predetermined amount of time that is configured at the controller.
 22. The method of claim 18, further comprising placing data items of interest in a scanning list.
 23. The method of claim 22, the list indicates which data items are to be periodically updated for a client application.
 24. A system to facilitate data communications with an industrial controller, comprising: a processor; a computer readable storage medium storing computer executable instructions, the computer executable instructions, when executed by the processor, implement components comprising: means for requesting, by the processor, tag identifiers from a industrial controller across a communications network, wherein the tag identifiers are associated with a plurality of selected data items in the industrial controller; means for constructing an aggregation object from the tag identifiers requested from the industrial controller; means for installing the aggregation object on the industrial controller, wherein the means for installing installs at least one secondary aggregation component on the controller upon increased data demands and removes the at least one secondary aggregation components upon decreased data demands, wherein the installing and removing are caused by a communication component associated with a remote entity; means for refreshing by the industrial controller the aggregation object on the industrial controller; means for transmitting by the industrial controller by data across the communications network from the optimized data packet that has been refreshed by the industrial controller; and means for updating the industrial controller via employment of handle information by an update component associated with a remote entity to generate an update data packet that is transmitted across the network to the industrial controller to update the plurality of selected data items in the industrial controller, wherein the handle information provides a fixed length reference pointer to a memory address in the industrial controller for each of variable length tag references for each of the plurality of selected data items that are to be updated, wherein the update data packet employs the fixed length reference pointer in place of the tag identifier as variable length tag reference for each of the plurality of selected data items that are to be updated.
 25. An industrial controller, comprising: a processor; a computer readable storage medium storing computer executable instructions, the computer executable instructions, when executed by the processor, implement components comprising: a first component that processes information received from a remote entity across a network; a primary aggregation component that aggregates a plurality of selected data items into an aggregated subset of data items, the primary aggregation component defined and installed at the industrial controller by an entity remote from the industrial controller; a communications component associated with the entity remote from the controller, the communications component reads the subset of data items via a singular communications packet across the network, the communications component causes addition of at least one secondary aggregation component at the industrial controller upon increased data demands, wherein the communication component causes removal of the at least one secondary aggregation components upon decreased data demands; and a update component associated with the entity remote from the industrial controller, the update component receives handle information from the industrial controller relating to the selected data items and employs the handle information to generate an update data packet request that is transmitted across the network to the industrial controller to update the plurality of data items of the aggregated subset of data items in the industrial controller, wherein the handle information provides a fixed length reference pointer to a memory address in the controller in place of a variable length tag reference for each of the plurality of selected data items that are to be updated, wherein the update data packet employs the fixed length reference pointer in place of a variable length tag reference for the plurality of selected data items of the aggregated subset of data items that are to be updated.
 26. The controller of claim 25, the first component is a processor adapted to provide access to a variable memory associated with the controller, the variable memory storing the one or more selected data items.
 27. The controller of claim 26, the processor interacts with the communications component to aggregate and transmit the subset of data items, the communications component is a communications driver configured for the network.
 28. The controller of claim 27, the network is at least one of an Ethernet, ControlNet, a DeviceNet, RS-232, RS-422, or RS-485.
 29. The controller of claim 27, the communications driver adapted to communicate with a communications server associated with a client application.
 30. The controller of claim 29, the client application is a Human and Machine Interface (HMI).
 31. The controller of claim 29, the communications server installs the aggregation component on the industrial controller. 